$(function(){
  var e=document.getElementById('main');
  return new Handsontable(e,
    {data:[
      ["Java","1","降","-0.01%"],
      ["C","2","升","+2.244%"],
      ["Python","3","升","+1.41%"],
      ["C++","4","降","-2.58%"],
      ["C#","5","升","+2.07%"],
      ["Visual Basic .NET","6","降","-1.17%"],
      ["JavaScript","7","降","-0.85%"]
    ],
    contextMenu:true,
    rowHeaders:false,
    colHeaders:["语言名称","排名","升或降","变化幅度"],
    rowHeights:40,
    colWidths:200,
    licenseKey:'non-commercial-and-evaluation'
  })
});
